package com.wxt.ssm.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wxt.ssm.bean.Department;
import com.wxt.ssm.dao.DepartmentMapper;

@Service
public class DeptService {
    @Autowired
	private DepartmentMapper departmentMapper;
	public List <Department> getDeptAll() {
		
		return departmentMapper.selectByExample(null);
		
	
		
	}

}
